﻿@if(Request.IsAuthenticated) {
    <text><label id="username">Some username</label> [ @Html.ActionLink("Log Off", "LogOff", null, new {id = "logoff"}) ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "LogOn", null, new { id = "logon" }) ]
}
@if(Request.IsAuthenticated) {
    <text>Welcome <b>@Context.User.Identity.Name</b>!
    [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
}
else {
    <text>[ @Html.ActionLink("Log On", "LogOn", "Account") ]</text>

}
